# Contributor: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
# Maintainer: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
pkgname=kerberoast
pkgver=0.2.0
pkgrel=1
pkgdesc="Kerberos security toolkit for Python"
url="https://github.com/skelsec/kerberoast"
arch="noarch"
license="MIT"
depends="
	py3-minikerberos
	py3-msldap
	py3-winacl
	"
makedepends="
	py3-gpep517
	py3-wheel
	py3-setuptools
	"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/skelsec/kerberoast/archive/refs/tags/$pkgver.tar.gz"
options="!check" # no tests in version 0.2.0

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
1617b22fc4aa43fd5597cbb4a720f3771e6dd21c9b76d9164b01aacbf6c1011be6ef5ca6c2b46a54d5d15cb2eea2d9e108393ec3cbf8652a95e266489e58a63c  kerberoast-0.2.0.tar.gz
"
